package com.apes.fn.supp.repository;

import com.apes.fn.supp.model.SantouChannel;
import com.apes.framework.jpa.repository.CustomRepository;
import org.springframework.data.jpa.repository.Query;

public interface SantouChannelRepository  extends CustomRepository<SantouChannel,String> {

    @Query(value = "select a from SantouChannel a where a.channelNumber = :channelNumber")
    SantouChannel findByChannelNumber(String channelNumber);
}
